Building An Opengl Base Library